@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    background: url('olas.png') no-repeat center center fixed;
    background-size: cover;
    color: black;
    line-height: 1.6;
}

header {
    background: linear-gradient(167deg, rgba(0, 48, 255, 1) 0%, rgba(0, 255, 16, 1) 100%);
    height: 100px;
    padding: 0 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.imagen {
    max-width: 100px;
    height: auto;
    margin-right: 15px;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: black;
}

header nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

header nav a {
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none; 
    color: black; 
    background-color: rgb(6, 176, 255);
    border-radius: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: color 0.3s, background-color 0.3s, transform 0.3s;
}

header nav a:hover {
    color: black;
    background-color: rgba(6, 176, 255, 0.8);
    transform: scale(1.1);
}

header .mobile-menu {
    display: none;
    font-size: 2em;
    cursor: pointer;
    color: black;
}

.hero {
    display: flex;
    justify-content: flex-start; 
    margin-left: 5%; 
    text-decoration: none;
    color: black;
    width: 80%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.hero a {
    text-decoration: none; 
    color: black; 
}

.impa, .nombres, .tutores,.redes-sociales {
    width: 300px;
    display: flex;
    flex-direction: column;
    text-align: justify;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: black;
}

h1 {
    text-align: center;
    margin-top: 20px;
    font-size: 2.5em;
}

h2, p {
    font-size: 1.2em;
    text-align: left;
}


@media (max-width: 720px) {

    header {
        flex-direction: column;
        height: auto;
        text-align: center;
        padding: 10px;
    }

    header .logo {
        font-size: 1.5em;
        margin-top: 10px;
    }

    .hero {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .impa, .nombres, .tutores {
        width: 100%;
        text-align: center;
    }

    header nav {
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        position: absolute;
        top: 100px;
        left: 10px;
        right: 10px;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        border-radius: 10px;
    }

    header .mobile-menu {
        display: block;
        font-size: 2.5em;
        color: black;
        cursor: pointer;
    }

    header nav.active {
        display: flex;
    }

    .imagen {
        width: 80px;
    }

    button {
        font-size: 16px;
        padding: 8px 15px;
    }
}

@media (min-width: 720px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 5%;
    }

    .hero {
        width: 90%;
        justify-content:flex-start; 
        margin-left: 10%; 
        text-decoration: none;
        color: black;
    }

    .impa, .nombres, .tutores,.redes-sociales {
        width: 300px;
        align-items: center;
        text-decoration: none;
        color: black;
    }

    button {
        font-size: 17px;
        padding: 5px 10px;
    }
}
